package com.itheima.job2;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.setAge(23);
        s1.setName("张三");
        s1.setSex(Sex.BOY);
        Student s2 = new Student();
        s2.setName("小红");
        s2.setAge(19);
        s2.setSex(Sex.GIRL);
        System.out.println(s1);
        System.out.println(s2);
    }
}
